<template>
    <div class="app">
        <div class="wrap">
            <hello-world />
            <div class="link-wrap">
                <router-link to="/home">HOME</router-link>
                <router-link to="/about">ABOUT</router-link>
            </div>  
            <router-view></router-view>
        </div>
       
    </div>
</template>
<script>
import HelloWorld from './components/Hellowprld.vue'
export default {
    components: {
        'hello-world': HelloWorld
    },
    data() {
        return {
            title: 'hello world!'
        }
    },
    mounted() {
        console.log(NODE_ENV)
        console.log(process.env.NODE_ENV)
    }
}
</script>>
<style lang="less" scoped>
.app{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    .wrap{
        margin-top: -200px;
    }
}
</style>